-- GENERATED SPELL FOR [Captain Krosh] --


function spell0_18992(pUnit, Event) --@Furious Rage,Self--
pUnit:FullCastSpellOnTarget(35491,pUnit)
pUnit:RegisterEvent('Sorts_18992', 6319, 1)
end

function Sorts_18992(pUnit, Event)
local choix_sorts_18992 = math.random(0, 0)
if choix_sorts_18992 == 0 then
pUnit:RegisterEvent('spell0_18992', 1, 1)
end
end

function mob18992_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18992', math.random(1500, 3000), 1)
end

function mob18992_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18992_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18992_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18992, 1, 'mob18992_Action')
RegisterUnitEvent(18992, 2, 'mob18992_Leave')
RegisterUnitEvent(18992, 3, 'mob18992_Kill')
RegisterUnitEvent(18992, 4, 'mob18992_Die')
